﻿<%@ Page Language="C#" 
    MasterPageFile="~/Site.Master" 
    AutoEventWireup="true" 
    CodeBehind="HitListDetail.aspx.cs" 
    Inherits="Ras2Web.HitListDetail" 
    Title="Nánar um vinsældarlista" %>
 
<%--    Info on the HitListDetails for the viewer to look closer at. 
        Displayed in Labels.
        He can view the Position, Songname and Performer.
        Displayed in Gridview.
--%>    

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 class="white_background">Nánar um vinsældarlista</h1>
    
    <table>
        <tr>
            <td>&nbsp;</td>
            <td class="table_head"><asp:Label ID="Label2" runat="server" Text="<strong>Listi númer:</strong>"></asp:Label></td>
            <td><asp:Label ID="m_id" runat="server" Text=""></asp:Label></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td class="td_svartirtitlar"><asp:Label ID="Label1" runat="server" Text="<strong>Nafn:</strong>"></asp:Label></td>
            <td><asp:Label ID="m_name" runat="server" Text=""></asp:Label></td>
        </tr>
        <tr>
        <td colspan="3">
            <asp:GridView ID="m_gridViewSongsAndPerformer" runat="server" AutoGenerateColumns="false">
                <Columns>
                    <asp:BoundField ControlStyle-CssClass="td_svartirtitlar" DataField="Position" HeaderText="Sæti" />
                    <asp:HyperLinkField DataNavigateUrlFields="SongID" DataNavigateUrlFormatString="~/SongDetail.aspx?ID={0}"
                        DataTextField="SongName" HeaderText="Lag" />
                    <asp:HyperLinkField DataNavigateUrlFields="PerformerID" DataNavigateUrlFormatString="~/PerformerDetail.aspx?ID={0}"
                        DataTextField="PerformerName" HeaderText="Flytjandi" />
                </Columns>
            </asp:GridView>
        </td>
      </tr>
    </table>
    
    <br/>
    <a href="Default.aspx">Til baka á upphafssíðu</a>
</asp:Content>
